package com.rc.saas.tenant.mapper.enterprise;

import com.rc.saas.tenant.common.base.BaseMapper;
import com.rc.saas.tenant.model.enterprise.EnterpriseMemberApply;
import com.rc.saas.tenant.model.enterprise.EnterpriseMemberApplyExample;
import com.rc.saas.tenant.search.enterprise.EnterpriseMemberApplySearch;
import com.rc.saas.tenant.vo.enterprise.EnterpriseMemberApplyResult;

import java.util.List;

public interface EnterpriseMemberApplyMapper extends BaseMapper<Long ,EnterpriseMemberApply,EnterpriseMemberApplyExample> {
    List<EnterpriseMemberApplyResult> listEnterpriseApply(EnterpriseMemberApplySearch search);

    void insertReturnId(EnterpriseMemberApply enterpriseMemberApply);

    EnterpriseMemberApplyResult loadEnterpriseIds(String roleType,String loginName);
}
